
tcp_server_cycle.o:     file format elf64-littleaarch64


Disassembly of section .text:

0000000000000000 <main>:
   0:	a9ba7bfd 	stp	x29, x30, [sp, #-96]!
   4:	910003fd 	mov	x29, sp
   8:	b9001fa0 	str	w0, [x29, #28]
   c:	f9000ba1 	str	x1, [x29, #16]
  10:	f9400ba0 	ldr	x0, [x29, #16]
  14:	91002000 	add	x0, x0, #0x8
  18:	f9400000 	ldr	x0, [x0]
  1c:	f100001f 	cmp	x0, #0x0
  20:	540000e0 	b.eq	3c <main+0x3c>  // b.none
  24:	f9400ba0 	ldr	x0, [x29, #16]
  28:	91002000 	add	x0, x0, #0x8
  2c:	f9400000 	ldr	x0, [x0]
  30:	94000000 	bl	0 <atoi>
  34:	b9005fa0 	str	w0, [x29, #92]
  38:	14000003 	b	44 <main+0x44>
  3c:	5283d3c0 	mov	w0, #0x1e9e                	// #7838
  40:	b9005fa0 	str	w0, [x29, #92]
  44:	f9400ba0 	ldr	x0, [x29, #16]
  48:	91004000 	add	x0, x0, #0x10
  4c:	f9400000 	ldr	x0, [x0]
  50:	f100001f 	cmp	x0, #0x0
  54:	540000e0 	b.eq	70 <main+0x70>  // b.none
  58:	f9400ba0 	ldr	x0, [x29, #16]
  5c:	91004000 	add	x0, x0, #0x10
  60:	f9400000 	ldr	x0, [x0]
  64:	94000000 	bl	0 <atoi>
  68:	b9005ba0 	str	w0, [x29, #88]
  6c:	14000003 	b	78 <main+0x78>
  70:	52800040 	mov	w0, #0x2                   	// #2
  74:	b9005ba0 	str	w0, [x29, #88]
  78:	52800002 	mov	w2, #0x0                   	// #0
  7c:	52800021 	mov	w1, #0x1                   	// #1
  80:	52800040 	mov	w0, #0x2                   	// #2
  84:	94000000 	bl	0 <socket>
  88:	b90057a0 	str	w0, [x29, #84]
  8c:	b94057a0 	ldr	w0, [x29, #84]
  90:	3100041f 	cmn	w0, #0x1
  94:	540000c1 	b.ne	ac <main+0xac>  // b.any
  98:	90000000 	adrp	x0, 0 <main>
  9c:	91000000 	add	x0, x0, #0x0
  a0:	94000000 	bl	0 <perror>
  a4:	52800020 	mov	w0, #0x1                   	// #1
  a8:	94000000 	bl	0 <exit>
  ac:	52800040 	mov	w0, #0x2                   	// #2
  b0:	790083a0 	strh	w0, [x29, #64]
  b4:	b9405fa0 	ldr	w0, [x29, #92]
  b8:	12003c00 	and	w0, w0, #0xffff
  bc:	94000000 	bl	0 <htons>
  c0:	12003c00 	and	w0, w0, #0xffff
  c4:	790087a0 	strh	w0, [x29, #66]
  c8:	b90047bf 	str	wzr, [x29, #68]
  cc:	910103a0 	add	x0, x29, #0x40
  d0:	52800202 	mov	w2, #0x10                  	// #16
  d4:	aa0003e1 	mov	x1, x0
  d8:	b94057a0 	ldr	w0, [x29, #84]
  dc:	94000000 	bl	0 <bind>
  e0:	3100041f 	cmn	w0, #0x1
  e4:	540000c1 	b.ne	fc <main+0xfc>  // b.any
  e8:	90000000 	adrp	x0, 0 <main>
  ec:	91000000 	add	x0, x0, #0x0
  f0:	94000000 	bl	0 <perror>
  f4:	52800020 	mov	w0, #0x1                   	// #1
  f8:	94000000 	bl	0 <exit>
  fc:	b9405ba0 	ldr	w0, [x29, #88]
 100:	2a0003e1 	mov	w1, w0
 104:	b94057a0 	ldr	w0, [x29, #84]
 108:	94000000 	bl	0 <listen>
 10c:	3100041f 	cmn	w0, #0x1
 110:	540000c1 	b.ne	128 <main+0x128>  // b.any
 114:	90000000 	adrp	x0, 0 <main>
 118:	91000000 	add	x0, x0, #0x0
 11c:	94000000 	bl	0 <perror>
 120:	52800020 	mov	w0, #0x1                   	// #1
 124:	94000000 	bl	0 <exit>
 128:	52800200 	mov	w0, #0x10                  	// #16
 12c:	b9002fa0 	str	w0, [x29, #44]
 130:	9100b3a1 	add	x1, x29, #0x2c
 134:	9100c3a0 	add	x0, x29, #0x30
 138:	aa0103e2 	mov	x2, x1
 13c:	aa0003e1 	mov	x1, x0
 140:	b94057a0 	ldr	w0, [x29, #84]
 144:	94000000 	bl	0 <accept>
 148:	b90053a0 	str	w0, [x29, #80]
 14c:	b94053a0 	ldr	w0, [x29, #80]
 150:	3100041f 	cmn	w0, #0x1
 154:	540000a1 	b.ne	168 <main+0x168>  // b.any
 158:	90000000 	adrp	x0, 0 <main>
 15c:	91000000 	add	x0, x0, #0x0
 160:	94000000 	bl	0 <perror>
 164:	14000020 	b	1e4 <main+0x1e4>
 168:	b94037a0 	ldr	w0, [x29, #52]
 16c:	94000000 	bl	0 <inet_ntoa>
 170:	2a0003e1 	mov	w1, w0
 174:	90000000 	adrp	x0, 0 <main>
 178:	91000000 	add	x0, x0, #0x0
 17c:	94000000 	bl	0 <printf>
 180:	94000000 	bl	0 <fork>
 184:	7100001f 	cmp	w0, #0x0
 188:	54000221 	b.ne	1cc <main+0x1cc>  // b.any
 18c:	90000000 	adrp	x0, 0 <main>
 190:	91000000 	add	x0, x0, #0x0
 194:	52800003 	mov	w3, #0x0                   	// #0
 198:	d28001c2 	mov	x2, #0xe                   	// #14
 19c:	aa0003e1 	mov	x1, x0
 1a0:	b94053a0 	ldr	w0, [x29, #80]
 1a4:	94000000 	bl	0 <send>
 1a8:	b100041f 	cmn	x0, #0x1
 1ac:	54000101 	b.ne	1cc <main+0x1cc>  // b.any
 1b0:	90000000 	adrp	x0, 0 <main>
 1b4:	91000000 	add	x0, x0, #0x0
 1b8:	94000000 	bl	0 <perror>
 1bc:	b94053a0 	ldr	w0, [x29, #80]
 1c0:	94000000 	bl	0 <close>
 1c4:	52800000 	mov	w0, #0x0                   	// #0
 1c8:	94000000 	bl	0 <exit>
 1cc:	b94053a0 	ldr	w0, [x29, #80]
 1d0:	94000000 	bl	0 <close>
 1d4:	52800022 	mov	w2, #0x1                   	// #1
 1d8:	d2800001 	mov	x1, #0x0                   	// #0
 1dc:	12800000 	mov	w0, #0xffffffff            	// #-1
 1e0:	94000000 	bl	0 <waitpid>
 1e4:	17ffffd1 	b	128 <main+0x128>
